package dy.com.part1.chapter1;

public class TicketWindowRunnable implements Runnable {
    private  int Max =200;
    private static int index=1;


    @Override
    public void run() {
        while(index<Max){
            System.out.println(Thread.currentThread().getName()+"叫到第"+(index++)+"个号了");



        }
    }
}
